package com.rock.goc.data.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author rock
 * @email 1946920097@qq.com
 * @date 2022-11-29 11:25:45
 */
@Data
@TableName("factory")
public class FactoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 厂区主键
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 厂区代码
	 */
	private String code;
	/**
	 * 厂区名称
	 */
	private String name;

	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.UPDATE)
	private LocalDateTime updateTime;

}
